home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group96a.txt / 000076_icon-group-sender _Thu Apr 11 10:41:58 1996.msg < prev    next >
Internet Message Format  |  1996-09-05  |  3KB

  1. Received: by cheltenham.CS.Arizona.EDU; Thu, 11 Apr 1996 12:20:20 MST
  2. Message-Id: <s16ce499.081@wise.net>
  3. X-Mailer: Novell GroupWise 4.1
  4. Date: Thu, 11 Apr 1996 10:41:58 -0600
  5. From: Charlie Hethcoat <CHETHCOA@oss.oceaneering.com>
  6. To: seebs@solutions.solon.com
  7. Cc: icon-group@cs.arizona.edu
  8. Subject:  Re:  How to thing about Icon?
  9. Errors-To: icon-group-errors@cs.arizona.edu
  10. Status: O
  11.  
  12. I'm still learning how to use Icon myself, but I found in the beginning that the
  13. only way for me to get comfortable with iterators, backtracking, etc. was to
  14. start really simple.  I snagged some code from the Icon library that was
  15. supposed to do what I wanted to try, more or less.  Even though I couldn't
  16. understand it so well at first, it did perform as advertised!  This gave me a
  17. safe way to try little permutations to the code, one at a time, to study the
  18. effects.  Gradually, I started adding stuff--little five- or ten-line routines--to
  19. modify some aspects of the program.
  20.  
  21. The next thing I knew, I had a 200+line Icon program that did some pretty
  22. nice, if basic, graph traversal stuff with reasonably pretty text output.  I did
  23. make use of Icon's features, but I still don't know if I took the best approach
  24. on everything I did.
  25.  
  26. Oh yeah--with all the talk about graphical additions to Icon, I haven't yet
  27. been able to try it out.  That is primarily because I have not had an X
  28. platform to use, but even if I had, I might have just been confused by the X
  29. Window display stuff on top of the unusual aspects of Icon's semantics.    I
  30. intend to get to the graphics pretty soon,  now that a Windows version is
  31. available.  But for learning the language itself, stick to text.
  32.  
  33. Another area that is hard for me to see is how to choose the best from
  34. among the multiplicity of ways to construct a given data structure.  The
  35. builtin data structures are for me the most attractive part of Icon.  They are
  36. just the right balance between rocket science and brain-dead.  But
  37. sometimes it is hard to decide what is the best way to build what you want.  I
  38. have gotten to where, if in doubt, I try a list first.
  39.  
  40. Yours,
  41.  
  42. Charles L. Hethcoat III    |  Where do people
  43. Senior Engineer              |  get all the
  44. Oceaneering Space Systems  |  cute little
  45. 16665 Space Center Blvd.   |  sayings they
  46. Houston, Texas 77058 USA   |  put in this
  47. (713) 488-9080 x 3470      |  leftover space?
  48.  
  49. The opinions expressed herein are mine and are not necessarily shared by
  50. my employer.
  51.  
  52.  
  53.